package com.slofzx.nuoda.evaluation.project.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.slofzx.nuoda.common.vo.BaseVO;
import com.slofzx.nuoda.evaluation.project.dto.ProjectReportDetailYearDTO;
import com.slofzx.nuoda.evaluation.steretype.ExcelExportConfig;
import org.apache.ibatis.type.JdbcType;

import java.util.Date;

/**
 * 评价结果年份数据数据返回类
 *
 * @author nuoda
 * @since 2023-12-27 17:40:26
 */
@ExcelExportConfig(name="计算结果",yearRelated = true)
public class ProjectReportDetailYearVO extends ProjectReportDetailYearDTO {

    private static final long serialVersionUID = -70792752621606241L;
    protected String createUser;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    protected Date createTime;

    @Override
    public String toString() {
        return "ProjectReportDetailYear{" +
                ",id=" + id +
                ",projectId=" + projectId +
                ",year=" + year +
                ",netProfit=" + netProfit +
                ",totalNetProfit=" + totalNetProfit +
                ",cashFlowAfterTax=" + cashFlowAfterTax +
                ",totalOperateCost=" + totalOperateCost +
                "}";
    }

}
